package com.doit.demo01;

public class test {
    public static void main(String[] args) {
        Color myEnum=Color.GREEN;
        System.out.println(myEnum);
        System.out.println(Color.RED);
        System.out.println(myEnum.getColor());
    }
}
